#pragma once
#include "afxwin.h"
#include "afxcmn.h"


// CCensusDevice dialog

class CCensusDevice : public CDialogEx
{
	DECLARE_DYNAMIC(CCensusDevice)

public:
	CCensusDevice(CWnd* pParent = NULL);   // standard constructor
	CCensusDevice(CSystem* pBigDrawing, CModelLayerView* pView, CWnd* pParent = NULL);
	virtual ~CCensusDevice();

// Dialog Data
	enum { IDD = IDD_CENSUS_DEVICE_DLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnOK();
	afx_msg void OnCancel();
	afx_msg void OnClose();
	afx_msg void OnDestroy();
private:
	CSystem* m_pBigDrawing;
	CModelLayerView* m_pView;
	HICON m_hIcon;
public:
	CButton m_SubSysCHK;
	CButton m_CarbinCHK;
	CButton m_DeviceAmountCHK;
	CButton m_ConsumptionCHK;
	CButton m_MassCHK;
	CListCtrl m_DeviceCensusListCtr;
	CListCtrl m_DeviceListCtr;
	BOOL m_bSubSysCHK;
	BOOL m_bCarbinCHK;
	BOOL m_bDeviceAmountCHK;
	BOOL m_bConsumptionCHK;
	BOOL m_bMassCHK;
};
